Model fit

Column

Assumption checks

Column

Indices of model fit

Metric Value
AIC 16423.45
AICc 16423.64
BIC 16593.75
R2 (cond.) 0.15
R2 (marg.) 0.14
ICC 0.01
RMSE 0.80
Sigma 0.81

For interpretation of performance metrics, please refer to this documentation.

Parameter estimates

Column

Plot

Column

Tabular summary

# Fixed Effects
Parameter Coefficient SE 95% CI t(6689) p
(Intercept) 3.64 0.09 (3.46, 3.83) 38.83 < .001
esfuerzo soc -0.09 0.02 (-0.13, -0.06) -5.50 < .001
merito soc -0.20 0.02 (-0.23, -0.17) -11.87 < .001
inteligencia soc -0.06 0.02 (-0.10, -0.03) -3.92 < .001
esfuerzo esc 0.10 0.02 (0.07, 0.14) 6.15 < .001
inteligencia esc -0.10 0.01 (-0.12, -0.07) -7.85 < .001
educacion rec [Ed Media] 0.05 0.05 (-0.04, 0.14) 1.14 0.256
educacion rec [Ed Tecnica] 0.08 0.05 (-0.02, 0.18) 1.48 0.138
educacion rec [Universidad o posgrado] 0.01 0.05 (-0.09, 0.12) 0.25 0.802
educacion rec [Ns/Nr] -0.01 0.05 (-0.10, 0.08) -0.23 0.814
libros rec [Más de 25] 0.04 0.02 (-5.34e-04, 0.09) 1.94 0.053
acc tec -6.33e-03 4.39e-03 (-0.01, 2.28e-03) -1.44 0.150
internet rec [2] 0.02 0.03 (-0.04, 0.07) 0.55 0.580
internet rec [Ns/Nr] -0.01 0.03 (-0.07, 0.04) -0.52 0.606
mean educ -0.27 0.20 (-0.66, 0.12) -1.34 0.180
cod depe2 [Part. subvencionado] -9.47e-03 0.03 (-0.07, 0.05) -0.31 0.757
cod depe2 [Part. privado] 0.02 0.10 (-0.17, 0.22) 0.23 0.815
cod grupo [Medio bajo] -0.02 0.04 (-0.10, 0.06) -0.42 0.673
cod grupo [Medio] 0.02 0.05 (-0.08, 0.12) 0.45 0.650
cod grupo [Medio alto] 0.06 0.07 (-0.07, 0.19) 0.91 0.365
cod grupo [Alto] -0.20 0.10 (-0.40, -7.99e-03) -2.04 0.041
simce [Medio] 0.12 0.03 (0.06, 0.18) 3.68 < .001
simce [Alto] 0.27 0.04 (0.20, 0.35) 7.02 < .001
# Random Effects
Parameter Coefficient
SD (Intercept: mrbd) 0.09
SD (Residual) 0.81

To find out more about table summary options, please refer to this documentation.

Predicted Values

Column

Plot

Error in match.arg(tolower(range), c("range", "iqr", "ci", "hdi", "eti", : 'arg' should be one of "range", "iqr", "ci", "hdi", "eti", "sd", "mad"
Error in lapply(text_modelbased, function(i) {: object 'text_modelbased' not found
Error in is.ggplot(x): object 'all_plots' not found

Column

Tabular summary

Error in eval(expr, envir, enclos): object 'text_modelbased' not found

Text reports

Column

Textual summary

We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with esfuerzo_soc (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to esfuerzo_soc = 0, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with merito_soc (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to merito_soc = 0, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with inteligencia_soc (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to inteligencia_soc = 0, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with esfuerzo_esc (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to esfuerzo_esc = 0, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with inteligencia_esc (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to inteligencia_esc = 0, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with educacion_rec (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to educacion_rec = Ed Basica, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with libros_rec (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to libros_rec = Menos de 25, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with acc_tec (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to acc_tec = 0, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with internet_rec (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to internet_rec = 1, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with mean_educ (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to mean_educ = 0, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with cod_depe2 (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to cod_depe2 = Municipal, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with cod_grupo (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to cod_grupo = Bajo, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation. and We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict bienestar with simce (formula: bienestar ~ 1 + esfuerzo_soc + merito_soc + inteligencia_soc + esfuerzo_esc + inteligencia_esc + educacion_rec + libros_rec + acc_tec + internet_rec + mean_educ + cod_depe2 + cod_grupo + simce). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14. The model’s intercept, corresponding to simce = Bajo, is at 3.64 (95% CI (3.46, 3.83), t(6689) = 38.83, p < .001). Within this model:

  • The effect of esfuerzo soc is statistically significant and negative (beta = -0.09, 95% CI (-0.13, -0.06), t(6689) = -5.50, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.06))
  • The effect of merito soc is statistically significant and negative (beta = -0.20, 95% CI (-0.23, -0.17), t(6689) = -11.87, p < .001; Std. beta = -0.20, 95% CI (-0.23, -0.16))
  • The effect of inteligencia soc is statistically significant and negative (beta = -0.06, 95% CI (-0.10, -0.03), t(6689) = -3.92, p < .001; Std. beta = -0.06, 95% CI (-0.09, -0.03))
  • The effect of esfuerzo esc is statistically significant and positive (beta = 0.10, 95% CI (0.07, 0.14), t(6689) = 6.15, p < .001; Std. beta = 0.07, 95% CI (0.05, 0.09))
  • The effect of inteligencia esc is statistically significant and negative (beta = -0.10, 95% CI (-0.12, -0.07), t(6689) = -7.85, p < .001; Std. beta = -0.09, 95% CI (-0.12, -0.07))
  • The effect of educacion rec (Ed Media) is statistically non-significant and positive (beta = 0.05, 95% CI (-0.04, 0.14), t(6689) = 1.14, p = 0.256; Std. beta = 0.06, 95% CI (-0.04, 0.16))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and positive (beta = 0.08, 95% CI (-0.02, 0.18), t(6689) = 1.48, p = 0.138; Std. beta = 0.09, 95% CI (-0.03, 0.20))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.09, 0.12), t(6689) = 0.25, p = 0.802; Std. beta = 0.01, 95% CI (-0.10, 0.13))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.10, 0.08), t(6689) = -0.23, p = 0.814; Std. beta = -0.01, 95% CI (-0.11, 0.09))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.04, 95% CI (-5.34e-04, 0.09), t(6689) = 1.94, p = 0.053; Std. beta = 0.05, 95% CI (-6.10e-04, 0.10))
  • The effect of acc tec is statistically non-significant and negative (beta = -6.33e-03, 95% CI (-0.01, 2.28e-03), t(6689) = -1.44, p = 0.150; Std. beta = -0.02, 95% CI (-0.04, 6.21e-03))
  • The effect of internet rec (2) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.04, 0.07), t(6689) = 0.55, p = 0.580; Std. beta = 0.02, 95% CI (-0.05, 0.08))
  • The effect of internet rec (Ns/Nr) is statistically non-significant and negative (beta = -0.01, 95% CI (-0.07, 0.04), t(6689) = -0.52, p = 0.606; Std. beta = -0.02, 95% CI (-0.08, 0.05))
  • The effect of mean educ is statistically non-significant and negative (beta = -0.27, 95% CI (-0.66, 0.12), t(6689) = -1.34, p = 0.180; Std. beta = -0.04, 95% CI (-0.10, 0.02))
  • The effect of cod depe2 (Part. subvencionado) is statistically non-significant and negative (beta = -9.47e-03, 95% CI (-0.07, 0.05), t(6689) = -0.31, p = 0.757; Std. beta = -0.01, 95% CI (-0.08, 0.06))
  • The effect of cod depe2 (Part. privado) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.17, 0.22), t(6689) = 0.23, p = 0.815; Std. beta = 0.03, 95% CI (-0.20, 0.25))
  • The effect of cod grupo (Medio bajo) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.10, 0.06), t(6689) = -0.42, p = 0.673; Std. beta = -0.02, 95% CI (-0.11, 0.07))
  • The effect of cod grupo (Medio) is statistically non-significant and positive (beta = 0.02, 95% CI (-0.08, 0.12), t(6689) = 0.45, p = 0.650; Std. beta = 0.03, 95% CI (-0.09, 0.14))
  • The effect of cod grupo (Medio alto) is statistically non-significant and positive (beta = 0.06, 95% CI (-0.07, 0.19), t(6689) = 0.91, p = 0.365; Std. beta = 0.07, 95% CI (-0.08, 0.22))
  • The effect of cod grupo (Alto) is statistically significant and negative (beta = -0.20, 95% CI (-0.40, -7.99e-03), t(6689) = -2.04, p = 0.041; Std. beta = -0.23, 95% CI (-0.46, -9.12e-03))
  • The effect of simce (Medio) is statistically significant and positive (beta = 0.12, 95% CI (0.06, 0.18), t(6689) = 3.68, p < .001; Std. beta = 0.14, 95% CI (0.06, 0.21))
  • The effect of simce (Alto) is statistically significant and positive (beta = 0.27, 95% CI (0.20, 0.35), t(6689) = 7.02, p < .001; Std. beta = 0.31, 95% CI (0.22, 0.40))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation.

The model’s total explanatory power is moderate (conditional R2 = 0.15) and the part related to the fixed effects alone (marginal R2) is of 0.14

Column

Model information

---
title: "Regression model summary from `{easystats}`"
output: 
  flexdashboard::flex_dashboard:
    theme:
      version: 4
      # bg: "#101010"
      # fg: "#FDF7F7" 
      primary: "#0054AD"
      base_font:
        google: Prompt
      code_font:
        google: JetBrains Mono
params:
  model: model
  check_model_args: check_model_args
  parameters_args: parameters_args
  performance_args: performance_args
---

```{r setup, include=FALSE}
library(flexdashboard)
library(easystats)

# Since not all regression model are supported across all packages, make the
# dashboard chunks more fault-tolerant. E.g. a model might be supported in
# `{parameters}`, but not in `{report}`.
#
# For this reason, `error = TRUE`
knitr::opts_chunk$set(
  error = TRUE,
  out.width = "100%"
)
```

```{r}
# Get user-specified model data
model <- params$model

# Is it supported by `{easystats}`? Skip evaluation of the following chunks if not.
is_supported <- insight::is_model_supported(model)

if (!is_supported) {
  unsupported_message <- sprintf(
    "Unfortunately, objects of class '%s' are not yet supported in {easystats}.\n
    For a list of supported models, see `insight::supported_models()`.",
    class(model)[1]
  )
}
```


Model fit 
=====================================  

Column {data-width=700}
-----------------------------------------------------------------------

### Assumption checks

```{r check-model, eval=is_supported, fig.height=10, fig.width=10}
check_model_args <- c(list(model), params$check_model_args)
do.call(performance::check_model, check_model_args)
```

```{r, eval=!is_supported}
cat(unsupported_message)
```

Column {data-width=300}
-----------------------------------------------------------------------

### Indices of model fit

```{r, eval=is_supported}
# `{performance}`
performance_args <- c(list(model), params$performance_args)
table_performance <- do.call(performance::performance, performance_args)
print_md(table_performance, layout = "vertical", caption = NULL)
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

For interpretation of performance metrics, please refer to <a href="https://easystats.github.io/performance/reference/model_performance.html" target="_blank">this documentation</a>.

Parameter estimates
=====================================  

Column {data-width=550}
-----------------------------------------------------------------------

### Plot

```{r dot-whisker, eval=is_supported}
# `{parameters}`
parameters_args <- c(list(model), params$parameters_args)
table_parameters <- do.call(parameters::parameters, parameters_args)

plot(table_parameters)
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

Column {data-width=450}
-----------------------------------------------------------------------

### Tabular summary

```{r, eval=is_supported}
print_md(table_parameters, caption = NULL)
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

To find out more about table summary options, please refer to <a href="https://easystats.github.io/parameters/reference/model_parameters.html" target="_blank">this documentation</a>.


Predicted Values
=====================================  

Column {data-width=600}
-----------------------------------------------------------------------

### Plot

```{r expected-values, eval=is_supported, fig.height=10, fig.width=10}
# `{modelbased}`
int_terms <- find_interactions(model, component = "conditional", flatten = TRUE)
con_terms <- find_variables(model)$conditional

if (is.null(int_terms)) {
  model_terms <- con_terms
} else {
  model_terms <- clean_names(int_terms)
  int_terms <- unique(unlist(strsplit(clean_names(int_terms), ":", fixed = TRUE)))
  model_terms <- c(model_terms, setdiff(con_terms, int_terms))
}

text_modelbased <- lapply(unique(model_terms), function(i) {
  grid <- get_datagrid(model, at = i, range = "grid", preserve_range = FALSE)
  estimate_expectation(model, data = grid)
})

ggplot2::theme_set(theme_modern())
# all_plots <- lapply(text_modelbased, function(i) {
#   out <- do.call(visualisation_recipe, c(list(i), modelbased_args))
#   plot(out) + ggplot2::ggtitle("")
# })
all_plots <- lapply(text_modelbased, function(i) {
  out <- visualisation_recipe(i, show_data = "none")
  plot(out) + ggplot2::ggtitle("")
})

see::plots(all_plots, n_columns = round(sqrt(length(text_modelbased))))
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

Column {data-width=400}
-----------------------------------------------------------------------

### Tabular summary

```{r, eval=is_supported, results="asis"}
for (i in text_modelbased) {
  tmp <- print_md(i)
  tmp <- gsub("Variable predicted", "\nVariable predicted", tmp)
  tmp <- gsub("Predictors modulated", "\nPredictors modulated", tmp)
  tmp <- gsub("Predictors controlled", "\nPredictors controlled", tmp)
  print(tmp)
}
```


```{r, eval=!is_supported}
cat(unsupported_message)
```


Text reports
=====================================    

Column {data-width=500}
-----------------------------------------------------------------------

### Textual summary

```{r, eval=is_supported, results='asis', collapse=TRUE}
# `{report}`
text_report <- report(model)
text_report_performance <- report_performance(model)

gsub("]", ")", gsub("[", "(", text_report, fixed = TRUE), fixed = TRUE)
cat("\n")
gsub("]", ")", gsub("[", "(", text_report_performance, fixed = TRUE), fixed = TRUE)
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

Column {data-width=500}
-----------------------------------------------------------------------

### Model information

```{r, eval=is_supported}
model_info_data <- insight::model_info(model)

model_info_data <- datawizard::data_to_long(as.data.frame(model_info_data))

DT::datatable(model_info_data)
```

```{r, eval=!is_supported}
cat(unsupported_message)
```